package org.example.utils;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class PageResult<T> implements Serializable {

    private long totalRows;
    private Integer totalPages;
    private Integer page;
    private Integer pageSize;
    private Integer currentPage;
    private List<T> data;

}
